﻿using System.Collections.Generic;
using Domain.Entities;

namespace BusinessLogic.Interfaces
{
    public interface ICategoryRepository
    {
        IEnumerable<Category> GetCategories();
        Category GetCategoryById(int id);
        Category GetCategoryByEnglishName(string name);
        void CreateCategory(Category  category);
        void SaveCategory(Category category);
         void DeleteCategoryById(int id);
    }
}
